package com.ruoyi.assignments.domain;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 专家分配中间表对象 expert_assignments
 * 
 * @author ruoyi
 * @date 2025-04-24
 */
public class ExpertAssignments extends BaseEntity implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long assignmentId;

    /** 学位点ID */
    @Excel(name = "学位点ID")
    private Long pointId;

    /** 专家ID */
    @Excel(name = "专家ID")
    private Long expertId;

    /** 分配的管理员ID */
    @Excel(name = "分配的管理员ID")
    private Long assignedBy;

    /** 分配时间 */
    private Date assignedAt;

    public void setAssignmentId(Long assignmentId) 
    {
        this.assignmentId = assignmentId;
    }

    public Long getAssignmentId() 
    {
        return assignmentId;
    }

    public void setPointId(Long pointId) 
    {
        this.pointId = pointId;
    }

    public Long getPointId() 
    {
        return pointId;
    }

    public void setExpertId(Long expertId) 
    {
        this.expertId = expertId;
    }

    public Long getExpertId() 
    {
        return expertId;
    }

    public void setAssignedBy(Long assignedBy) 
    {
        this.assignedBy = assignedBy;
    }

    public Long getAssignedBy() 
    {
        return assignedBy;
    }

    public void setAssignedAt(Date assignedAt) 
    {
        this.assignedAt = assignedAt;
    }

    public Date getAssignedAt() 
    {
        return assignedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("assignmentId", getAssignmentId())
            .append("pointId", getPointId())
            .append("expertId", getExpertId())
            .append("assignedBy", getAssignedBy())
            .append("assignedAt", getAssignedAt())
            .toString();
    }
}
